package com.example.delivery.mapper;

import com.example.delivery.pojo.Review;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author huber
* @description 针对表【review】的数据库操作Mapper
* @createDate 2025-03-18 13:29:36
* @Entity com.example.delivery.pojo.Review
*/
public interface ReviewMapper extends BaseMapper<Review> {
    // 根据餐馆id查询评论
    List<Review> findAll(Integer restaurantId);
}




